package com.csdj.DriverSchoolSystem.service;

import com.csdj.DriverSchoolSystem.entity.CityArea;
import com.csdj.DriverSchoolSystem.entity.CityAreaExample;
import com.csdj.DriverSchoolSystem.mapper.CityAreaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CityAreaService implements ICityAreaService {
    @Autowired
    private CityAreaMapper cityAreaMapper;

    public List<CityArea> selCa() {
        CityAreaExample cityAreaExample = new CityAreaExample();
        cityAreaExample.createCriteria();
        return cityAreaMapper.selectByExample(cityAreaExample);
    }
}
